home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000217-20000824 / 000039_news@columbia.edu _Wed Feb 23 13:10:31 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA28179
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 23 Feb 2000 13:10:30 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA21323
  7.     for kermit.misc@watsun.cc.columbia.edu; Wed, 23 Feb 2000 12:50:03 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: Peter Easthope <peter_easthope@gulfnet.pinc.com>
  10. Subject: Re: Array name passed to macro as argument?
  11. Date: Wed, 23 Feb 2000 17:38:21 GMT
  12. Organization: GulfNet-Galiano
  13. Message-ID: <8915uc$4e2$1@nnrp1.deja.com>
  14. To: kermit.misc@columbia.edu
  15.  
  16. In <88u9fb$ev5$1@newsmaster.cc.columbia.edu>
  17. posted at 22 Feb 2000 15:20:11 GMT Frank da Cruz said,
  18. fdc> ... in C-Kermit 7.0 / K95 1.1.19, you can write this more
  19. simply ... declare \&d[] = Sea urchin.
  20.  
  21. Thanks Frank.  It is in my memory banks for future
  22. use.  The current application is meant to run on MS-DOS
  23. Kermit also; for now I will retain the more primitive
  24. notation to declare the array.
  25.  
  26. fdc> Here's a version of your Test macro that works:
  27.  
  28.   def test {
  29.     local \%x
  30.     .\%x := \\&\%1[1]
  31.     echo {\%x}
  32.     .\%x := \\&\%1[2]
  33.     echo {\%x}
  34.   }
  35.  
  36. MS-DOS Kermit complains: "?More parameters are needed".
  37.  
  38. What does the "." in ".\%x" mean?  What
  39. documentation is recommended for these
  40. details?
  41.  
  42. There is another way that my objective
  43. can be reached.  Thanks for your help.
  44.  
  45. Regards,     Peter_Easthope@gulfnet.pinc.com
  46.  
  47.  
  48. Sent via Deja.com http://www.deja.com/
  49. Before you buy.